#ifndef __SYS_RADAR_DEF_H__
#define __SYS_RADAR_DEF_H__


#include <stdint.h>

#define MAX_WIN_RANGE          (256) // chebwin
#define MAX_WIN_VEL            (256) // hanning
#define NUM_ANGLE              (64)
#define FRAME_MAX_NUM          (128)
#define CFAR_MAX_NUM           (128)
#define WIN_MAX_LEN            (256)
#define NUM_ANGLE              (64)
#define ANT_MAX_NUM            (2)

typedef struct
{
	uint16_t d1Idx;   //Range idx
	uint8_t d2Idx;   	//Vel idx
	uint8_t d3Idx;   	//Horizontal angle idx
	uint32_t powABS;  //Pow abs
}STRUCT_TARGETPOINT;

typedef struct
{
	uint16_t targetNum;
	uint16_t deltaT;
	STRUCT_TARGETPOINT target[FRAME_MAX_NUM];
}STRUCT_POINTRST; //128point=1028Byte


#endif
